<%@page contentType="text/xml; charset=UTF-8"%> 
<%@page pageEncoding="gb2312"%>
<%@page import="orest.front.achieve.GetOptionAction"%>
<%@page import="orest.common.util.CachedObject"%>
<%@page import="orest.common.util.CacheManager"%>
<%
    request.setCharacterEncoding ("gb2312");
    String identifier = "frontprovince";
    CachedObject o = (CachedObject)CacheManager.getCache(identifier);
    String str = "";
    if(o == null) {
        
         GetOptionAction obj = new GetOptionAction();
         str = obj.getProvinceList();
         o = new CachedObject(str, identifier, 1200); 
         CacheManager.putCache(o); 
         obj = null;     
    }
    else {
         str = ((String)o.object).toString();
    } 
     out.clear();
     //out.println ("<?xml version='1.0' encoding='gb2312' ?><root>"+str+"</root>");
     out.println(str); 
%>


 
